package com.ruoyi.project.platform.mapper;

import java.util.List;
import com.ruoyi.project.platform.domain.PltUserOrderDetail;

/**
 * 订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2020-07-27
 */
public interface PltUserOrderDetailMapper 
{
    /**
     * 查询订单明细
     * 
     * @param detailId 订单明细ID
     * @return 订单明细
     */
    public PltUserOrderDetail selectPltUserOrderDetailById(Long detailId);

    /**
     * 查询订单明细列表
     * 
     * @param pltUserOrderDetail 订单明细
     * @return 订单明细集合
     */
    public List<PltUserOrderDetail> selectPltUserOrderDetailList(PltUserOrderDetail pltUserOrderDetail);

    /**
     * 新增订单明细
     * 
     * @param pltUserOrderDetail 订单明细
     * @return 结果
     */
    public int insertPltUserOrderDetail(PltUserOrderDetail pltUserOrderDetail);

    /**
     * 修改订单明细
     * 
     * @param pltUserOrderDetail 订单明细
     * @return 结果
     */
    public int updatePltUserOrderDetail(PltUserOrderDetail pltUserOrderDetail);

    /**
     * 删除订单明细
     * 
     * @param detailId 订单明细ID
     * @return 结果
     */
    public int deletePltUserOrderDetailById(Long detailId);

    /**
     * 批量删除订单明细
     * 
     * @param detailIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePltUserOrderDetailByIds(Long[] detailIds);
}
